Skip to content

public Election::addVotesFromJson

Read it at the source

Description

php
public Election->addVotesFromJson ( string $input ): int

Import votes from a Json source.

Parameter

input: string

Json string input.

Return value

(int) Count of newly registered votes.



Tutorial

Released under the MIT License.